//
//  GVUserDefaults+User.m
//  MeiMeiBar
//
//  Created by cruise on 15/5/19.
//  Copyright (c) 2015年 com.lmmb. All rights reserved.
//


#import "GVUserDefaults+User.h"

@implementation GVUserDefaults (User)
    
    @dynamic notFirstRun;
    
    @dynamic  token;
    @dynamic  userId;
    @dynamic level;
    @dynamic levelName;
    @dynamic mobile;
    @dynamic portrait;
    @dynamic name;
    @dynamic parent;
    @dynamic parentName;
    @dynamic money;

    @dynamic inviteCode;

    @dynamic isLogin;

    @dynamic cid;
    @dynamic cidAddress;
    @dynamic cidName;
    @dynamic wechat;
    
-(void) clearUserDefaults {
    //登录信息
    self.token = @"";
    self.userId = @"";
    self.level = @"";
    self.levelName = @"";
    self.inviteCode = @"";
    self.isLogin = NO;
    self.mobile = @"";
    self.portrait = @"";
    self.name = @"";
    self.parent = @"";
    self.parentName = @"";
    self.money = @"";
    self.cid = @"";
    self.cidAddress = @"";
    self.cidName = @"";
    self.wechat = @"";
}
    
    @end
